# Maintainer: Austin Page <jaustinpage@gmail.com>
# Contributor: Austin Page <jaustinpage@gmail.com>
pkgname=py3-cassandra-driver
_pkgname="${pkgname/py3-/}"
pkgver=3.20.2
pkgrel=0
pkgdesc="Python driver for Apache Cassandra"
url="https://github.com/datastax/python-driver"
arch="all"
license="Apache-2.0"
makedepends="cython libev-dev py3-setuptools python3-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="f04359887af276682e996f3262b5cb7f91255fc538b9d2bfd34a7a2f451d43ea663d61f35328f43e0f6b5410f3a8ef9f466a5827c2b91b2505c07246307a8af3  cassandra-driver-3.20.2.tar.gz"
